package com.zdd.ehe.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdd.ehe.entity.Environment;
import com.zdd.ehe.mapper.EnvironmentMapper;
import com.zdd.ehe.param.EnvironmentParam;
import com.zdd.ehe.service.EnvironmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0.0
 * @title: EnvironmentServiceImpl
 * @author: HFLy
 * @description:
 * @date: 19/3/2023 上午1:01
 */
@Service
public class EnvironmentServiceImpl extends ServiceImpl<EnvironmentMapper, Environment> implements EnvironmentService {
    @Autowired
    private EnvironmentMapper environmentMapper;

    @Override
    public List<Environment> search(EnvironmentParam environmentParam) {
        return environmentMapper.search(environmentParam);
    }
}
